import service from '/@/utils/request';
// 设备管理√
export const useHomeDeviceStateSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/deviceModuleSummary`,
        method: 'GET'
    });
}
// 设备在线情况√
export const useHomeDeviceModuleSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/deviceStateSummary`,
        method: 'GET'
    });
}
// 项目总览√
export const useHomeEmployeeSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/employeeStateSummary`,
        method: 'GET'
    });
}
// 昨日基础数据√
export const useHomeAttendYesterdaySummaryApi = () => {
    return service({
        url: `v0/system/dashboard/attendYesterdaySummary`,
        method: 'GET'
    });
}
// 进出统计√
export const useHomeAccessInoutSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/accessInoutSummary`,
        method: 'GET'
    });
}


// 所有考勤点
export const useHomeAttendPointSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/attendPointSummary`,
        method: 'GET'
    });
}
// 所有消费点
export const useHomePosPointSummaryApi = () => {
    return service({
        url: `v0/system/dashboard/posPointSummary`,
        method: 'GET'
    });
}